package com.example.filesftp.ftptransfer.domain.entity;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author chenhuan
 */
@Data
public class FileTransferConfig {
    private String id;
    private String name;
    private String fileName;
    private String csvFileName;
    private String csvFileDate;
    private String type; // "FTP_DOWNLOAD" or "SFTP_UPLOAD"
    private String host;
    private Integer port;
    private String username;
    private String password;
    private String remotePath;
    private String remoteType;
    private String localPath;
    private String localType;
    private String cronExpression;
    private Boolean active;
    private String description;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}